package com.myproject.collection;

import java.util.*;
import java.util.concurrent.LinkedBlockingQueue;

public class Test1 {

    public static void main(String[] args) {

        String[] strings = {"1","2","2","3"};
        List<String> stringList = Arrays.asList(strings);
        List<String> list = new ArrayList<>(stringList);
        Set<String> set = new HashSet<>(stringList);
        Queue<String> queue = new LinkedBlockingQueue<>(stringList);

        System.out.println(list);
        System.out.println(set);
        System.out.println(queue);



    }
}
